﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OpenLeuvenPortaal.Views.DeveloperPages
{
    public partial class DeveloperHomePage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            MenuItem l1 = new MenuItem();
            l1.NavigateUrl = "DeveloperApps.aspx?UserID=" + Session["userid"];
            l1.Text = "Manage My Apps";

            MenuItem l2 = new MenuItem();
            l2.NavigateUrl = "AvailableServices.aspx?UserID=" + Session["userid"];
            l2.Text = "Available Services";

            MenuItem l3 = new MenuItem();
            l3.NavigateUrl = "PostNewApp.aspx?UserID=" + Session["userid"];
            l3.Text = "New App";

            MenuItem l4 = new MenuItem();
            l4.NavigateUrl = "AddService.aspx?UserID=" + Session["userid"];
            l4.Text = "Add a Service";

            this.DevMenu.Items.Add(l1);
            this.DevMenu.Items.Add(l3);
            this.DevMenu.Items.Add(l2);
            this.DevMenu.Items.Add(l4);

        }
    }
}